//
//  NetContant.m
//  Conference
//
//  Created by Xiang He on 12-11-19.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "NetContant.h"

@implementation NetContant

@synthesize NET_CONNECT_FALSE;
@synthesize NETWORK_RECORD_ISEMPTY;
@synthesize RECORDS_SPLIT_FLAG;
@synthesize TABLES_SPLIT_FLAG;
@synthesize IMGURL_SPLIT_FLAG;
@synthesize MORETABLES_SPLIT_FLAG;
@synthesize NETWORK_DB_EXCEPTION;
@synthesize NETWORK_SUCC;
static NetContant *globalInstance=nil;

-(id)init{
    
	if(self =[super init]){
        
		self.NET_CONNECT_FALSE=@"-1";
        self.NETWORK_DB_EXCEPTION=@"-2";
        self.NETWORK_RECORD_ISEMPTY=@"-3";
        self.NETWORK_SUCC=@"1";
        self.RECORDS_SPLIT_FLAG=@"|";
        self.TABLES_SPLIT_FLAG=@"#";
        self.IMGURL_SPLIT_FLAG=@"$";
        self.MORETABLES_SPLIT_FLAG=@"&";
	}
	return self;
}

+(NetContant *)getInstance {
	@synchronized(self){
		if (globalInstance ==nil) {
			globalInstance=[[NetContant alloc] init];
		}
	}
	return globalInstance;
}


-(void)dealloc{
    [super dealloc];
}

@end
